package com.java.yz.day15;

public class MyThread1 extends Thread{
    public MyThread1(ThreadGroup group, String name) {
        super(group, name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println(getName()+"--"+i);
        }
    }
}
